<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../css/base.css">
</head>

<body>
    <div style="height:100%;width:100%;">
        <div id="time01">5</div>
        <img src="../images/mmbuy.gif" />
        <h3>拼命加载中，请稍后……</h3>
    </div>



</body>

</html>
<!--js部分-->
<script>
    var t = 5; //自定义时间为5秒
    setInterval("jishi()", 1000); //定时器，每间隔1秒钟调用一次函数
    function jishi() {
        if (t == 1) {
            location = '../index.html'; //缓冲完成后，页面跳转到首页
        }
        t--; //自减，实现倒计时
        document.getElementById("time01").innerHTML = t + "秒后进入首页";
    };
</script>